package com.mengniu.commerce.sync.api.domain;

import lombok.Data;

import java.util.List;

@Data
public class ModifyOrderModel {

    /** 买家备注*/
    private String buyerNote;
    /** 确认收货时间*/
    private String confirmReceiptTime;
    /** 收货详细地址*/
    private String deliveryAddressDetail;
    /** 发货时间*/
    private String deliveryTime;
    /** 来源系统编码*/
    private String fromSys;
    /** 修改时间*/
    private String modifierTime;
    /** 卖家备注*/
    private String note;
    /** 邮编*/
    private String postalCode;
    /** 收货人名称*/
    private String receiverName;
    /** 收货人手机号*/
    private String receiverPhone;
    /** 收货市编码*/
    private String receivingCityCode;
    /** 收货市名称*/
    private String receivingCityName;
    /** 收货国家编码*/
    private String receivingDistrictCode;
    /** 收货国家名称*/
    private String receivingDistrictName;
    /** 收货省份编码*/
    private String receivingProvinceCode;
    /** 收货省份名称*/
    private String receivingProvinceName;
    /** 收货街道编码*/
    private String receivingStreetCode;
    /** 收货街道名称*/
    private String receivingStreetName;
    /** 销售订单单号*/
    private String salesOrderNo;
    /** 单据明细*/
    private List<OrderItem> orderItemList;

    @Data
    public static class OrderItem{
        /** 确认收货时间*/
        private String confirmReceiptTime;
        /** 行号*/
        private String lineNum;
        /** 备注*/
        private String note;

        /** 单据物流明细*/
        private List<OrderItemLogistic> orderItemLogisticList;
    }

    @Data
    public static class OrderItemLogistic {

        /**
         * 快递单号
         */
        private String courierNo;

        /**
         * 快递公司名称
         */
        private String expressCompanyName;

        /**
         * 快递公司编码
         */
        private String expressCompanyNo;

        /**
         * 发货数量
         */
        private Integer shipQuantity;

        /**
         * 发货时间
         */
        private String shipTime;
    }
}
